#include<bits/stdc++.h>
using namespace std;
int a[100005];
int main()
{
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    int n,m=0;
    scanf("%d",&n);
    for(int i=0;i<n;i++)
    {
        int x;
        scanf("%d",&x);
        m=max(m,x);
        a[x]++;
    }
    int ans=0;
    for(int i=1;i<=m;i++)
    {
        ans=ans+a[i]-min(ans,a[i]);
    }
    printf("%d\n",ans);
    return 0;
}
    